﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="License_Default" StyleSheetTheme="Theme1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Edit License</title>
    <link href="../Style/jquery.ui.datepicker.css" rel="stylesheet" type="text/css" />
    <link href="../Style/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Scripts/popup.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 148px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Modify This License"></asp:Label>
        <br />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Back" />
        <br />
        <table style="width:100%;">
            <tr>
                <td class="style1">
                    Company Name</td>
                <td>
                    <asp:TextBox ID="companyNameBox" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="companyNameBox" ErrorMessage="Please Enter a Name"></asp:RequiredFieldValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Contact Name</td>
                <td>
                    <asp:TextBox ID="ContactNameBox" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Contact Email</td>
                <td>
                    <asp:TextBox ID="ContactEmailBox" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Contact Number</td>
                <td>
                    <asp:TextBox ID="ContactNumberBox" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    Add More months</td>
                <td>
        <asp:DropDownList ID="MonthSelectionDrop" runat="server">
            <asp:ListItem>0</asp:ListItem>
            <asp:ListItem>1</asp:ListItem>
            <asp:ListItem>3</asp:ListItem>
            <asp:ListItem>6</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
        </asp:DropDownList>
                    <asp:Label ID="Label2" runat="server" Text="Expiry Date:"></asp:Label>
                    <asp:Label ID="Expirylbl" runat="server" Text="Label"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Modify" 
                        PostBackUrl="~/License/edit.aspx" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    <asp:Label ID="licenselb" runat="server" Visible="False"></asp:Label>
    </form>
</body>
</html>
